package com.HomeWorkhsp.Chapter08.homework.homework01;

public class professor extends teacher{
    public professor(String name, int age, String post, double salary, double grade) {
        super(name, age, post, salary, grade);
    }


}

class vice_professor extends teacher{
    public vice_professor(String name, int age, String post, double salary, double grade) {
        super(name, age, post, salary, grade);
    }

    public String introduce(){
        return super.introduce() + "\n" + "工资级别：1.2";
    }
}

class lecturer extends teacher{
    public lecturer(String name, int age, String post, double salary, double grade) {
        super(name, age, post, salary, grade);
    }

    public String introduce(){
        return super.introduce() + "\n" + "工资级别1.1";
    }
}
